<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>上海泛软科技有限公司-后台登陆</title>
<meta name="robots" content="nofollow" />
<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″>
<link href="/Public/Css/admin-style.css" rel="stylesheet" type="text/css" />
<link href="/Public/Css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="/Public/Css/bootstrap.min.css" rel="stylesheet" type="text/css" />


<script language="javascript" type="text/javascript" src="/Public/Js/jquery.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/admin-common.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/bootstrap.min.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/bootstrap.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/rock_customer_list.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/demo.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/blob.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/FileSaver.min.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/jquery.base64.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/jquery-1.10.2.min.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/tableExport.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/xlsx.core.min.js"></script>
</head>

<body>

<form enctype=”multipart/form-data” name="form1" method="post" action="<?php echo U('activity_add_ok');?>">

<div class="nav-table">
<span class="on" href="table-one">修改活动信息</span>
<!-- <span href="table-two">扩展信息</span> -->
</div>
<div class="nav-bottom"></div>


<div class="input-box">
<ul id="table-one">
  <li>
   <label for="title">活动主题</label>
   <input type="text" name="title" id="title" value="" />
  <input type="hidden" name="id" id="id" value="">
  </li> 
   <li>
  <label for="image">选择图片</label>
 <input type="text" name="image" id="image" value="" /> <a href="javascript:void(0)" id="upload">上传图片</a> 
  </li>
  <li>
   <label for="start_time">开始时间</label>
   <input type="datetime-local" name="start_time" id="start_time" value=""/>
  </li>
   <li>
   <label for="finish_time">结束时间</label>
    <input type="datetime-local" name="finish_time" id="finish_time" value="" />
  </li>
   <li>
   <label for="ticket_price">票价</label>
   <input type="text" name="ticket_price" id="ticket_price" value="" />
  </li>
  <li>
   <label for="content">地址</label>
   <textarea name="content" id="content" style="width:800px;height:260px;"></textarea>
   <script language="javascript" type="text/javascript" src="/Public/Plugin/kindeditor/kindeditor.js"></script>
  <script language="javascript" type="text/javascript">
		var editor;
		KindEditor.ready(function(K) {
			editor = K.create('textarea[name="content"]', {
				allowFileManager : true
			});
			
		});
  </script>
  <script>
	 KindEditor.ready(function(K) {
     var upload = K.editor({
		allowFileManager : true
	 });
		 
	 K('#upload').click(function() {
		  upload.loadPlugin('image', function() {
			  upload.plugin.imageDialog({
				  imageUrl : K('#image').val(),
				  clickFn : function(url, title, width, height, border, align) {
				  //url="http://127.0.0.1"+url;
				     
					  K('#image').val(url);
					  upload.hideDialog();
				  }
			  });
		  });
	  });
  })
  </script>
  </li>
 
 
</ul>

<ul id="table-two">
 <!--  <li>
  <label for="keyword">关键词</label>
  <input type="text" name="keyword" id="keyword" value="<?php echo ($content['keyword']); ?>" />
  </li>
  <li>
  <label for="url">别名</label>
  <input type="text" name="url" id="url" value="<?php echo ($content['url']); ?>" /></span>
  </li>
  <li>
   <label for="ord">展示序号</label>
   <input type="text" name="ord" id="ord" value="<?php echo ($content['ord']); ?>" /> 数字越大排名越靠前</span>
   </li>
  <li>
   <label for="hit">阅读次数</label>
   <input type="text" name="hit" id="hit" value="<?php echo ($content['hit']); ?>" /></span>
  </li>
  <li>
   <label for="time">发布时间</label>
   <input type="text" name="time" id="time" value="<?php echo (date("Y-m-d H:i:s",$content['time'])); ?>" /></span>
  </li> -->
  <li>
   <label for="keyword">岗位职责</label>
   <textarea name="description" id="description" cols="80" rows="5"></textarea>
  </li>
   <li>
   <label for="keyword">职业特长</label>
   <textarea name="description" id="description" cols="80" rows="5"></textarea>
  </li>
</ul>

  <div class="table-but"><input type="submit" name="button" id="button" value="确 认"></div>
</div>
</form>

</body>
</html>